package com.lonelymeko.shishou;

import com.lonelymeko.shishou.service.UserService;
import com.lonelymeko.shishou.service.UserServiceInterface;
import com.lonelymeko.summer.ShishouApplicatonContext;

public class Test {
    public static void main(String[] args) throws Exception {
        ShishouApplicatonContext shishouApplicatonContext = new ShishouApplicatonContext(AppConfig.class);
        UserServiceInterface userService = (UserServiceInterface) shishouApplicatonContext.getBean("userService");
        System.out.println(userService);

        userService.addUser();
    }
}
